<?php
if ( !defined('INSIDE') )
{
	die("Hacking attempt");
}

$idiomas = split(",", $_SERVER['HTTP_ACCEPT_LANGUAGE']);
//Por defecto ponemos uno;
$lang['LANGUAGE']='es';
$lg = $idiomas[0];
if (substr($lg,0,2) == "en")
	{
	$lang['LANGUAGE']='en';
	}
/*else
	{
	if (substr($lg,0,2) == "es") {
	$lang['LANGUAGE']='es';
	}

*/

$lang['tam_user']='50';
$lang['tam_usr_password']='8';
$lang['tam_usr_nombre']='9';
$lang['tam_test']='4';

?>
